gtk4.git
19 years agoFix a stupid c/p bug
Matthias Clasen [Fri, 2 Jun 2006 16:43:41 +0000 (16:43 +0000)]
Fix a stupid c/p bug

19 years agoAdd gtkprintoperationpreview.[ch] Set default preview command. Hardcoded
Alexander Larsson [Fri, 2 Jun 2006 15:16:13 +0000 (15:16 +0000)]
Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded

2006-06-02  Alexander Larsson  <alexl@redhat.com>

* gtk/Makefile.am:
Add gtkprintoperationpreview.[ch]
Set default preview command. Hardcoded for now.

* gtk/gtkmarshalers.list:
Add BOOLEAN:OBJECT,OBJECT,OBJECT

* gtk/gtkprintbackend.c:
Add preview command property.

* gtk/gtkprintcontext.[ch]:
Make less dependent on PrintOperation for output settings
Externally set cairo_t and dpi. Resettable.
Create fontmap without metrics hinting (so that print preview
text layout doesn't depend on zoom level).

* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.[ch]:
Initial work on print preview API and default implementation
using an external preview app.

* gtk/gtkprintoperation-win32.c:
Some needed updates. Not done, needs more work.

* gtk/gtkprintoperationpreview.[ch]:
New interface used in print preview api.

* gtk/gtkprintunixdialog.c:
Add print preview dialog.

* tests/print-editor.c:
Test using an custom print preview widget.

19 years agoFix a typo (spotted by Paolo Borelli and coverity).
Emmanuele Bassi [Fri, 2 Jun 2006 11:45:58 +0000 (11:45 +0000)]
Fix a typo (spotted by Paolo Borelli and coverity).

2006-06-02  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c
(gtk_recent_info_get_application_info): Fix a typo (spotted by
Paolo Borelli and coverity).

19 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Fri, 2 Jun 2006 05:48:12 +0000 (05:48 +0000)]
Updated Gujarati Translations

19 years agofix path messup
Matthias Clasen [Thu, 1 Jun 2006 20:05:09 +0000 (20:05 +0000)]
fix path messup

19 years agoSmall tweaks
Matthias Clasen [Thu, 1 Jun 2006 16:41:40 +0000 (16:41 +0000)]
Small tweaks

19 years agoAdd an icon-spacing style property for the same purpose.
Matthias Clasen [Thu, 1 Jun 2006 13:42:14 +0000 (13:42 +0000)]
Add an icon-spacing style property for the same purpose.

2006-06-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add
an icon-spacing style property for the same purpose.

* gtk/gtkbutton.c (gtk_button_class_init):  Add an image-spacing
style property that allows to adjust the spacing between image
and label in button.  (#320431, James Moger)

19 years ago*** empty log message ***
Matthias Clasen [Thu, 1 Jun 2006 12:38:29 +0000 (12:38 +0000)]
*** empty log message ***

19 years agobits from the preview patch
Matthias Clasen [Thu, 1 Jun 2006 12:38:07 +0000 (12:38 +0000)]
bits from the preview patch

19 years agoadd docs
Matthias Clasen [Thu, 1 Jun 2006 05:19:16 +0000 (05:19 +0000)]
add docs

19 years agoIntern signal names.
Matthias Clasen [Thu, 1 Jun 2006 05:02:56 +0000 (05:02 +0000)]
Intern signal names.

19 years agomore canonical signal names
Matthias Clasen [Thu, 1 Jun 2006 04:58:18 +0000 (04:58 +0000)]
more canonical signal names

19 years agouse canonical signal names
Matthias Clasen [Thu, 1 Jun 2006 04:54:49 +0000 (04:54 +0000)]
use canonical signal names

19 years agomore doc fixes
Matthias Clasen [Thu, 1 Jun 2006 03:56:42 +0000 (03:56 +0000)]
more doc fixes

19 years agomore doc fixes
Matthias Clasen [Thu, 1 Jun 2006 03:42:56 +0000 (03:42 +0000)]
more doc fixes

19 years agoAdd docs
Matthias Clasen [Thu, 1 Jun 2006 03:14:27 +0000 (03:14 +0000)]
Add docs

19 years agotypo fix
Matthias Clasen [Thu, 1 Jun 2006 01:57:01 +0000 (01:57 +0000)]
typo fix

19 years agoDon't treat manual_scale like a percentage, its a factor.
Matthias Clasen [Wed, 31 May 2006 19:46:02 +0000 (19:46 +0000)]
Don't treat manual_scale like a percentage, its a factor.

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintoperation.c (print_pages_idle): Don't
treat manual_scale like a percentage, its a factor.

19 years agoDocument signals. (#302556, Stefan Kost)
Matthias Clasen [Wed, 31 May 2006 19:17:16 +0000 (19:17 +0000)]
Document signals. (#302556, Stefan Kost)

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_class_init): Document
signals.  (#302556, Stefan Kost)

19 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Wed, 31 May 2006 14:45:36 +0000 (14:45 +0000)]
Updated Spanish translation.

2006-05-31  Francisco Javier F. Serrador  <serrador@openshine.com>

* es.po: Updated Spanish translation.

19 years agoUpdated Brazilian Portuguese translation
Raphael Higino [Wed, 31 May 2006 14:28:10 +0000 (14:28 +0000)]
Updated Brazilian Portuguese translation

19 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Wed, 31 May 2006 14:17:31 +0000 (14:17 +0000)]
Updated Spanish translation.

2006-05-31  Francisco Javier F. Serrador  <serrador@openshine.com>

* es.po: Updated Spanish translation.

19 years agoFurther updates from the GtkPrintContext functions rename.
Alexander Larsson [Wed, 31 May 2006 14:06:02 +0000 (14:06 +0000)]
Further updates from the GtkPrintContext functions rename.

2006-05-31  Alexander Larsson  <alexl@redhat.com>

* gtk/gtk.symbols:
* demos/gtk-demo/printing.c:
* tests/print-editor.c:
* tests/testnouiprint.c:
* tests/testprint.c:
* tests/testprintfileoperation.c:
Further updates from the GtkPrintContext functions rename.

* modules/printbackends/cups/gtkcupsutils.c:
Always set requesting-user-name when doing cups requests.

19 years agoRemove request_details_tag with g_signal_handler_disconnect, not
Alexander Larsson [Wed, 31 May 2006 13:43:42 +0000 (13:43 +0000)]
Remove request_details_tag with g_signal_handler_disconnect, not

2006-05-31  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkpagesetupunixdialog.c:
Remove request_details_tag with g_signal_handler_disconnect,
not g_source_remove. (#343475)

19 years agoUpdate
Matthias Clasen [Wed, 31 May 2006 13:39:02 +0000 (13:39 +0000)]
Update

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Update

19 years agoChange some function names to be longer and better.
Matthias Clasen [Wed, 31 May 2006 13:38:10 +0000 (13:38 +0000)]
Change some function names to be longer and better.

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintcontext.h:
* gtk/gtkprintcontext.c:
* gtk/gtkprintoperation.c:
* gtk/gtkprintoperation-unix.c: Change some function names to be
longer and better.
gtk_print_context_get_cairo -> gtk_print_context_get_cairo_context
gtk_print_context_get_fontmap -> gtk_print_context_get_pango_fontmap
gtk_print_context_create_context -> gtk_print_context_create_pango_context
gtk_print_context_create_layout -> gtk_print_context_create_pango_layout
Update all callers.

19 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Wed, 31 May 2006 12:05:46 +0000 (12:05 +0000)]
Updated Gujarati Translations

19 years agoDon't run the custom page size dialog. (#340444, Christian Persch)
Matthias Clasen [Wed, 31 May 2006 04:45:37 +0000 (04:45 +0000)]
Don't run the custom page size dialog. (#340444, Christian Persch)

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpagesetupunixdialog.c: Don't run the custom page
size dialog.  (#340444, Christian Persch)

19 years agofix the build
Matthias Clasen [Wed, 31 May 2006 04:38:16 +0000 (04:38 +0000)]
fix the build

19 years agoDisplay comments in friendly DodgerBlue instead of scary red. (#343444,
Matthias Clasen [Wed, 31 May 2006 04:13:01 +0000 (04:13 +0000)]
Display comments in friendly DodgerBlue instead of scary red. (#343444,

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/main.c (main): Display comments in friendly
DodgerBlue instead of scary red.  (#343444, Carol Spears)

19 years agoClarify the docs of the color-set and font-set signals. (#343438, Olexiy
Matthias Clasen [Wed, 31 May 2006 04:06:12 +0000 (04:06 +0000)]
Clarify the docs of the color-set and font-set signals. (#343438, Olexiy

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontbutton.c:
* gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
font-set signals.  (#343438, Olexiy Avramchenko)

19 years agoDon't skip internal children when emitting grab-notify. (#343425, Markku
Matthias Clasen [Wed, 31 May 2006 03:55:55 +0000 (03:55 +0000)]
Don't skip internal children when emitting grab-notify. (#343425, Markku

2006-05-30  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal
children when emitting grab-notify.  (#343425, Markku Vire)

19 years agoDon't use G_DEFINE_TYPE, since the instance struct name does not match the
Matthias Clasen [Wed, 31 May 2006 03:34:04 +0000 (03:34 +0000)]
Don't use G_DEFINE_TYPE, since the instance struct name does not match the

2006-05-30  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkpixmap.c:
* gdk/gdkwindow.c: Don't use G_DEFINE_TYPE, since the instance
struct name does not match the type name.  (#343453, Ed Catmur)

19 years agoAdd image-position api
Matthias Clasen [Wed, 31 May 2006 00:23:44 +0000 (00:23 +0000)]
Add image-position api

2006-05-30  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add image-position api

19 years agoAdd a GtkButton::image-position property with getter and setter, to allow
Matthias Clasen [Wed, 31 May 2006 00:22:19 +0000 (00:22 +0000)]
Add a GtkButton::image-position property with getter and setter, to allow

2006-05-30  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkbutton.h:
* gtk/gtkbutton.c: Add a GtkButton::image-position property
with getter and setter, to allow constructing buttons with
the image stacked on top of the label.  (#342930, Johan Dahlin)

19 years ago*** empty log message ***
Ignacio Casal Quinteiro [Tue, 30 May 2006 20:25:18 +0000 (20:25 +0000)]
*** empty log message ***

19 years agoonly check sort column id if connected to sortable model.
Kristian Rietveld [Tue, 30 May 2006 09:29:49 +0000 (09:29 +0000)]
only check sort column id if connected to sortable model.

2006-05-30  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): only
check sort column id if connected to sortable model.

19 years agoFix offset to center the underline in requested rectangle. (Ported from
Behdad Esfahbod [Tue, 30 May 2006 04:19:29 +0000 (04:19 +0000)]
Fix offset to center the underline in requested rectangle. (Ported from

2006-05-30  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (draw_error_underline): Fix offset to center the
        underline in requested rectangle. (Ported from pango fix.)

19 years agoAdd a space
Johan Dahlin [Mon, 29 May 2006 21:51:01 +0000 (21:51 +0000)]
Add a space

19 years agoremoved forgotten declaration of _gtk_dialog_get_response_for_widget(),
Michael Natterer [Mon, 29 May 2006 15:07:35 +0000 (15:07 +0000)]
removed forgotten declaration of _gtk_dialog_get_response_for_widget(),

2006-05-29  Michael Natterer  <mitch@imendio.com>

* gtk/gtkdialog.h: removed forgotten declaration of
_gtk_dialog_get_response_for_widget(), the function has been made
public a long time ago.

19 years agoapplied patch from Chris Wilson which replaces a useless loop with
Michael Natterer [Mon, 29 May 2006 08:39:00 +0000 (08:39 +0000)]
applied patch from Chris Wilson which replaces a useless loop with

2006-05-29  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextview.c (gtk_text_view_target_list_notify): applied
patch from Chris Wilson which replaces a useless loop with
built-in access to free'd memory by a simple integer comparison.
Fixes bug #342894.

19 years ago*** empty log message ***
Pema Geyleg [Mon, 29 May 2006 08:19:09 +0000 (08:19 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Pema Geyleg [Mon, 29 May 2006 06:19:19 +0000 (06:19 +0000)]
*** empty log message ***

19 years agoselect the current focus row if nothing is selected and ctrl is not
Kristian Rietveld [Sun, 28 May 2006 23:34:47 +0000 (23:34 +0000)]
select the current focus row if nothing is selected and ctrl is not

2006-05-29  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): select
the current focus row if nothing is selected and ctrl is not pressed.
(Fixes #324480, Murray Cumming/Srirama Sharma).

19 years agorefactor to work correctly in RTL mode.
Kristian Rietveld [Sun, 28 May 2006 21:51:04 +0000 (21:51 +0000)]
refactor to work correctly in RTL mode.

2006-05-28  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_focus): refactor
to work correctly in RTL mode.

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): make
cursor movement to left/right work correctly in RTL mode.

19 years agoNote in docs that @dest can be the same as @src1 or @src2. (#343233,
Behdad Esfahbod [Sun, 28 May 2006 20:24:43 +0000 (20:24 +0000)]
Note in docs that @dest can be the same as @src1 or @src2. (#343233,

2006-05-28  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect):
        Note in docs that @dest can be the same as @src1 or @src2. (#343233,
        Christian Persch)

19 years agohandle cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected
Kristian Rietveld [Sun, 28 May 2006 12:56:26 +0000 (12:56 +0000)]
handle cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected

2006-05-28  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkstyle.c (gtk_default_draw_flat_box): handle
cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected
state.

19 years agoadd GTK_ARROW_NONE.
Kristian Rietveld [Sun, 28 May 2006 12:37:21 +0000 (12:37 +0000)]
add GTK_ARROW_NONE.

2006-05-28  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkenums.h: add GTK_ARROW_NONE.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_column): always
"show" the arrow if sort_column_id >= 0, only set arrow type if
this column is the column we are currently sorting on. (#331338).

19 years agoavoid some trivial differences in translated strings
Matthias Clasen [Sun, 28 May 2006 02:55:51 +0000 (02:55 +0000)]
avoid some trivial differences in translated strings

19 years agobroken pipe
Kristian Rietveld [Sun, 28 May 2006 00:20:05 +0000 (00:20 +0000)]
broken pipe

19 years agoemit test_expand_row and test return value before expanding a branch.
Kristian Rietveld [Sun, 28 May 2006 00:19:08 +0000 (00:19 +0000)]
emit test_expand_row and test return value before expanding a branch.

2006-05-28  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_build_tree): emit test_expand_row
and test return value before expanding a branch. (Fixes #321523,
reported by Daniel Lindenaar).

19 years agoset the sizing type of the new column to FIXED,
Kristian Rietveld [Sat, 27 May 2006 22:39:46 +0000 (22:39 +0000)]
set the sizing type of the new column to FIXED,

2006-05-28  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_insert_column): set the sizing
type of the new column to FIXED,
(gtk_tree_view_insert_column_with_attributes): likewise. (#341898,
Dan Winship).

19 years agoonly unref if elt->ref_count > 0, (gtk_tree_model_filter_row_deleted):
Kristian Rietveld [Sat, 27 May 2006 21:48:46 +0000 (21:48 +0000)]
only unref if elt->ref_count > 0, (gtk_tree_model_filter_row_deleted):

2006-05-27  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_remove_node):
only unref if elt->ref_count > 0,
(gtk_tree_model_filter_row_deleted): likewise. (Fixes #340839,
reported by Yevgen Muntyan).

19 years agoSmall refactoring. (#340428, Paolo Borelli).
Kristian Rietveld [Sat, 27 May 2006 21:43:10 +0000 (21:43 +0000)]
Small refactoring. (#340428, Paolo Borelli).

2006-05-27  Kristian Rietveld  <kris@gtk.org>

Small refactoring. (#340428, Paolo Borelli).

* gtk/gtkliststore.c (gtk_list_store_set_valist_internal),
(gtk_list_store_insert_with_valuesv): refactor code to determine
iter compare func into gtk_list_store_get_compare_func().

* gtk/gtktreestore.c (gtk_tree_store_set_valist_internal),
(gtk_tree_store_insert_with_valuesv): likewise.

19 years agoUpdated German translation.
Hendrik Richter [Sat, 27 May 2006 21:12:03 +0000 (21:12 +0000)]
Updated German translation.

2006-05-27  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

19 years agoreally fix #333284.
Kristian Rietveld [Sat, 27 May 2006 21:09:59 +0000 (21:09 +0000)]
really fix #333284.

2006-05-27  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): really fix
#333284.

19 years agobroken pipe
Kristian Rietveld [Sat, 27 May 2006 16:20:20 +0000 (16:20 +0000)]
broken pipe

19 years agoEditable cell window placement and RTL fixes.
Kristian Rietveld [Sat, 27 May 2006 16:19:53 +0000 (16:19 +0000)]
Editable cell window placement and RTL fixes.

2006-05-27  Kristian Rietveld  <kris@gtk.org>

Editable cell window placement and RTL fixes.

* gtk/gtktreeview.c (gtk_tree_view_button_press),
(gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area),
(gtk_tree_view_create_row_drag_icon): Only add indentation to x
if !rtl,
(gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse
direction if in rtl mode.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
horizontal_separator is not part of the real background area width,
add 2 * focus_line_width to real_cell_area.x and not
real_background_area.x, fix up event coordinates check in the
PACK_END loop, also set depth to zero at the end of the PACK_END
loop,
(_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each
visible cell.

19 years agoUpdated Basque translation.
Inaki Larranaga [Sat, 27 May 2006 15:15:46 +0000 (15:15 +0000)]
Updated Basque translation.

2006-05-27  Inaki Larranaga  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

19 years agoUpdated Basque translation.
Inaki Larranaga [Sat, 27 May 2006 09:07:49 +0000 (09:07 +0000)]
Updated Basque translation.

2006-05-27  Inaki Larranaga  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

19 years agovi.po: Updated Vietnamese translation.
Clytie Siddall [Sat, 27 May 2006 08:41:21 +0000 (08:41 +0000)]
vi.po: Updated Vietnamese translation.

19 years agovi.po: Updated Vietnamese translation.
Clytie Siddall [Sat, 27 May 2006 07:11:09 +0000 (07:11 +0000)]
vi.po: Updated Vietnamese translation.

19 years agoCleaned up icons by Diana Fong.
Matthias Clasen [Fri, 26 May 2006 16:34:05 +0000 (16:34 +0000)]
Cleaned up icons by Diana Fong.

2006-05-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/stock-icons/24/gtk-orientation-landscape.png:
* gtk/stock-icons/24/gtk-orientation-portrait.png:
* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
* gtk/stock-icons/24/gtk-orientation-reverse-portrait.png:
Cleaned up icons by Diana Fong.

19 years agoqueue a redraw for the full width of the row, not just the width we got
Kristian Rietveld [Fri, 26 May 2006 00:25:44 +0000 (00:25 +0000)]
queue a redraw for the full width of the row, not just the width we got

2006-05-26  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
for the full width of the row, not just the width we got allocated.
(Fixes #333284, reported by Benjamin Berg).

19 years agoset dy to page_size + height in the event dy + page_size is about to
Kristian Rietveld [Fri, 26 May 2006 00:00:50 +0000 (00:00 +0000)]
set dy to page_size + height in the event dy + page_size is about to

2006-05-26  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): set dy to
page_size + height in the event dy + page_size is about to become
bigger than height.

19 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Thu, 25 May 2006 09:43:29 +0000 (09:43 +0000)]
Translation updated by Tino Meinen.

2006-05-25  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

19 years agoallow positioning bubbles
Matthias Clasen [Thu, 25 May 2006 05:53:42 +0000 (05:53 +0000)]
allow positioning bubbles

19 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Thu, 25 May 2006 05:40:51 +0000 (05:40 +0000)]
Updated Gujarati Translations

19 years agoMake GTK+ work as an untrusted X client. (#136571, Ed Catmur)
Matthias Clasen [Thu, 25 May 2006 05:30:14 +0000 (05:30 +0000)]
Make GTK+ work as an untrusted X client. (#136571, Ed Catmur)

2006-05-25  Matthias Clasen  <mclasen@redhat.com>

Make GTK+ work as an untrusted X client. (#136571,
Ed Catmur)

19 years agoFix the handling of modality by copying what GtkFileChooserButton does.
Matthias Clasen [Wed, 24 May 2006 19:44:20 +0000 (19:44 +0000)]
Fix the handling of modality by copying what GtkFileChooserButton does.

2006-05-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontbutton.c (gtk_font_button_clicked):
* gtk/gtkcolorbutton.c (gtk_color_button_clicked):
Fix the handling of modality by copying what
GtkFileChooserButton does.  (#342754, Yevgen Muntyan)

19 years agoMake collate check button insensitive
Matthias Clasen [Wed, 24 May 2006 19:03:52 +0000 (19:03 +0000)]
Make collate check button insensitive

19 years agoMake the range entry insensitive if another range option is selected.
Matthias Clasen [Wed, 24 May 2006 18:21:12 +0000 (18:21 +0000)]
Make the range entry insensitive if another range option is selected.

2006-05-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintunixdialog.c (create_main_page): Make
the range entry insensitive if another range option
is selected.  (#342783, Caolan McNamara)

19 years agoMake style properties in dynamic types work better
Matthias Clasen [Wed, 24 May 2006 18:03:19 +0000 (18:03 +0000)]
Make style properties in dynamic types work better

19 years agoAdd model property for GtkCellView, part of #172535.
Henrique Romano [Wed, 24 May 2006 17:01:28 +0000 (17:01 +0000)]
Add model property for GtkCellView, part of #172535.

2006-05-24  Henrique Romano  <henrique@async.com.br>

    * gtk/gtkcellview.c: (gtk_cell_view_class_init),
    (gtk_cell_view_get_property), (gtk_cell_view_set_property):
    Add model property for GtkCellView, part of #172535.

19 years agoCustom tab label
Matthias Clasen [Wed, 24 May 2006 16:15:15 +0000 (16:15 +0000)]
Custom tab label

19 years agoAdd gtk_print_unix_dialog_set_manual_capabilities that controls what
Alexander Larsson [Wed, 24 May 2006 10:50:57 +0000 (10:50 +0000)]
Add gtk_print_unix_dialog_set_manual_capabilities that controls what

2006-05-24  Alexander Larsson  <alexl@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkprintunixdialog.[ch]:
Add gtk_print_unix_dialog_set_manual_capabilities that controls
what widgets to enable in the dialog depending on the apps
capabilities.

* gtk/gtkprintbackend.[ch]:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.c:
* gtk/gtkprintjob.h:
Add printer_get_capabilities to backend.
Move some fallback calls to the printbackend base class.

* gtk/gtkprintoperation-unix.c:
Set manual capabilities

* modules/printbackends/cups/gtkprintbackendcups.c:
Implement get_capabilities

* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c:
Move some methods to baseclass.

19 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Wed, 24 May 2006 05:14:33 +0000 (05:14 +0000)]
Updated Gujarati Translations

19 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Wed, 24 May 2006 05:11:45 +0000 (05:11 +0000)]
Updated Translation

19 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 23 May 2006 22:17:57 +0000 (22:17 +0000)]
Updated Norwegian bokmål translation.

2006-05-24  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

19 years agoDo the begin-print emission in the idle, so that the print dialog goes
Matthias Clasen [Tue, 23 May 2006 16:52:10 +0000 (16:52 +0000)]
Do the begin-print emission in the idle, so that the print dialog goes

2006-05-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintoperation.c (print_pages): Do the begin-print
emission in the idle, so that the print dialog goes away
before begin-print.

19 years agoadditions
Matthias Clasen [Tue, 23 May 2006 16:34:30 +0000 (16:34 +0000)]
additions

19 years agoAdd a boolean show-progress property, and show a progress dialog if it is
Matthias Clasen [Tue, 23 May 2006 16:30:45 +0000 (16:30 +0000)]
Add a boolean show-progress property, and show a progress dialog if it is

2006-05-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkprintoperation.h:
* gtk/gtkprintoperation.c: Add a boolean show-progress
property, and show a progress dialog if it is set to TRUE.

* gtk/gtkprintoperation.c (pdf_end_run):
* gtk/gtkprintoperation-win32.c (win32_end_run):
* gtk/gtkprintoperation-unix.c (unix_end_run):
* gtk/gtkprintoperation-private.h: Add a cancelled
parameter to end_run, and call it even if the print
operation was cancelled.

19 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Tue, 23 May 2006 08:27:31 +0000 (08:27 +0000)]
Updated Thai translation.

2006-05-23  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

19 years agoAllow absolute filenames in filename entry. Patch from Yevgen Muntyan
Alexander Larsson [Tue, 23 May 2006 08:20:30 +0000 (08:20 +0000)]
Allow absolute filenames in filename entry. Patch from Yevgen Muntyan

2006-05-23  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
Allow absolute filenames in filename entry.
Patch from Yevgen Muntyan (#341679)

19 years agoAdd gtk_print_unix_dialog_add_custom_tab
Alexander Larsson [Tue, 23 May 2006 08:09:08 +0000 (08:09 +0000)]
Add gtk_print_unix_dialog_add_custom_tab

2006-05-23  Alexander Larsson  <alexl@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkprintunixdialog.[ch]:
Add gtk_print_unix_dialog_add_custom_tab

* gtk/gtkprintoperation-unix.c:
Implement custom widgets for unix.
Fix some warnings by including cairo-ps/pdf.h

* gtk/gtkprintoperation-win32.c:
Mark string for translation.

19 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Tue, 23 May 2006 03:52:47 +0000 (03:52 +0000)]
Updated Gujarati Translations

19 years agofix docs
Matthias Clasen [Mon, 22 May 2006 19:39:23 +0000 (19:39 +0000)]
fix docs

19 years agoMake sure grab-notify is emitted on toplevels as well as child widgets.
Alexander Larsson [Mon, 22 May 2006 17:19:10 +0000 (17:19 +0000)]
Make sure grab-notify is emitted on toplevels as well as child widgets.

2006-05-22  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkmain.c:
Make sure grab-notify is emitted on toplevels as well as
child widgets.

* gtk/Makefile.am:
* gtk/gtkwin32embedwidget.[ch]
Add new widget used for win32 port to embed gtk+
widgets in windows dialog.

* gtk/gtkmarshalers.list:
Add POINTER:VOID

* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation.[ch]:
Generic support for custom widgets in print dialog.

* gtk/gtkprintoperation-win32.c:
Implement custom widget support for win32.

* tests/print-editor.c:
Allow setting of font using custom widgets in the print dialog.

19 years agoRollback the following changes, to fix it the proper way in Pango:
Behdad Esfahbod [Mon, 22 May 2006 17:08:13 +0000 (17:08 +0000)]
Rollback the following changes, to fix it the proper way in Pango:

2006-05-22  Behdad Esfahbod  <behdad@gnome.org>

        Rollback the following changes, to fix it the proper way in Pango:

        * gdk/gdkinternals.h:
        * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
        (update_fontmap_resolution), (gdk_screen_set_resolution):  Add new
        function _gdk_screen_get_font_map() and have one fontmap per screen,
        with the correct resolution set on it.

        * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
        _gdk_screen_get_font_map() instead of setting resolution on the
        PangoCairoContext.  (#342529)

19 years agoDon't mask "time" with the "time" argument.
Emmanuele Bassi [Mon, 22 May 2006 17:02:54 +0000 (17:02 +0000)]
Don't mask "time" with the "time" argument.

2006-05-22  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.h:
* gtk/gtkrecentmanager.c
(gtk_recent_info_get_application_info): Don't mask "time" with
the "time" argument.

19 years agogdk_color_parse returns boolean, not int. (#342569, Masatake Yamato)
Matthias Clasen [Mon, 22 May 2006 12:58:00 +0000 (12:58 +0000)]
gdk_color_parse returns boolean, not int. (#342569, Masatake Yamato)

2006-05-22  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkcolor.h: gdk_color_parse returns boolean, not int.
(#342569, Masatake Yamato)

19 years agomore of the same
Matthias Clasen [Mon, 22 May 2006 12:55:02 +0000 (12:55 +0000)]
more of the same

19 years agoDon't return values from void functions.
Matthias Clasen [Mon, 22 May 2006 12:53:13 +0000 (12:53 +0000)]
Don't return values from void functions.

2006-05-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprinter.c (_gtk_printer_prepare_for_print)
(_gtk_printer_get_settings_from_options)
(_gtk_printer_request_details): Don't return values from void
functions.

* gtk/gtkrecentchooserutils.c (delegate_unselect_uri): Don't
return a value from a void function.

* gtk/gtkfilesystem.c (gtk_file_system_cancel_operation): Don't
return a value from a void function.  Also, don't put
semicolons behind G_DEFINE_TYPE. (#342543)

19 years agoAdd docs for new style properties. (#342535, Mart Raudsepp)
Matthias Clasen [Mon, 22 May 2006 12:39:54 +0000 (12:39 +0000)]
Add docs for new style properties. (#342535, Mart Raudsepp)

2006-05-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_class_init): Add docs
for new style properties.  (#342535, Mart Raudsepp)

19 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Mon, 22 May 2006 07:40:48 +0000 (07:40 +0000)]
Updated Translation

19 years agoRemove _gdk_x11_screen_request_cm_notification
Matthias Clasen [Mon, 22 May 2006 04:11:42 +0000 (04:11 +0000)]
Remove _gdk_x11_screen_request_cm_notification

2006-05-22  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkscreen-x11.c: Remove _gdk_x11_screen_request_cm_notification

* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Directly call
gdk_display_request_selection_notification.

* gdk/x11/gdkdisplay-x11.c: Several cleanups.

19 years agoAdd new function _gdk_screen_get_font_map() and have one fontmap per
Behdad Esfahbod [Mon, 22 May 2006 04:04:51 +0000 (04:04 +0000)]
Add new function _gdk_screen_get_font_map() and have one fontmap per

2006-05-21  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkinternals.h:
        * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
        (update_fontmap_resolution), (gdk_screen_set_resolution):  Add new
        function _gdk_screen_get_font_map() and have one fontmap per screen,
        with the correct resolution set on it.

        * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
        _gdk_screen_get_font_map() instead of setting resolution on the
        PangoCairoContext.  (#342529)

19 years agoUpdate.
Behdad Esfahbod [Mon, 22 May 2006 00:39:48 +0000 (00:39 +0000)]
Update.

19 years agoMake it compile again. Doesn't work properly yet, though. There is lots of
Tor Lillqvist [Sun, 21 May 2006 23:48:49 +0000 (23:48 +0000)]
Make it compile again. Doesn't work properly yet, though. There is lots of

2006-05-22  Tor Lillqvist  <tml@novell.com>

* gtk/gtkfilesystemwin32.c: Make it compile again. Doesn't work
properly yet, though. There is lots of commonality between this
file and gtkfilesystemunix.c that should really be factored out.

19 years agoUpdated Italian translation.
Alessio Frusciante [Sun, 21 May 2006 21:55:10 +0000 (21:55 +0000)]
Updated Italian translation.